import React, { Component } from 'react';
import autoBind from 'react-autobind';
import { connect } from 'dva';

// widget 
import AddressNav from '../components/Address/AddressNav'
import AddressBody from '../components/Address/AddressBody'

class AddressPage extends Component {
	constructor(props) {
        super(props)
        autoBind(this)
    }
    render() {
		return (
		  	<div>
		    	<AddressNav title="收货地址" {...this.props} />
    			<AddressBody {...this.props} />
		    </div>
		);
	}
}

AddressPage.propTypes = {
};

export default connect(({ meyley, address }) => ({
	meyley,
	address
}))(AddressPage);